import { IResponseData } from '@/types'
import { get } from '@utils/fetch'

export interface QuestionRes {
  id: string
  answer: string
  question: string
}
/**
 * @description 获取问题列表
 */
export const getQuestions: () => Promise<IResponseData<QuestionRes[]>> = () => get('/custom-service/faq/list')
